package com.example.administrator.ttphonehelper.util;

import android.content.Context;
import android.widget.Toast;

/**
 * Created by Administrator on 2016/3/30 0030.
 */
public class ToastUtil {
    private  static Toast toast;

    public static void show(Context context,String text){
        if(toast==null){
            toast=Toast.makeText(context,"",Toast.LENGTH_SHORT);
        }
        toast.setText(text);
        toast.show();
    }
}
